package com.bw.produce.domain.dto;

import com.bw.produce.domain.Type;

import java.util.List;

/**
 * @author lemon
 * @date 2024/11/15 20:50
 **/
public class TypeDTO {

    private Integer value;

    private String label;

    private List<TypeDTO> children;


    @Override
    public String toString() {
        return "TypeDTO{" +
                "value=" + value +
                ", label='" + label + '\'' +
                ", children=" + children +
                '}';
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<TypeDTO> getChildren() {
        return children;
    }

    public void setChildren(List<TypeDTO> children) {
        this.children = children;
    }
}
